Changeset 143:2fa482a0954c in finroc_plugins_structure


Ignore:
Timestamp:
06.02.2021 21:45:38 (17 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
144:20c098f62fcb, 145:97234384eda3
Phase:
public
Message:

Fixes compiler warnings that appear with additional non-default warning options enabled

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • tComponent.cpp

    r137 r143  
    6767// Const values 
    6868//---------------------------------------------------------------------- 
    69 const tComponent::tInterfaceInfo tComponent::cPROFILING_INTERFACE_INFO = { "Profiling", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS }; 
     69const tComponent::tInterfaceInfo tComponent::cPROFILING_INTERFACE_INFO = { "Profiling", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
    7070 
    7171//---------------------------------------------------------------------- 
  • tComponent.h

    r131 r143  
    365365  // operator new is overloaded for auto-port naming feature 
    366366  void* operator new(size_t size); 
    367   void* operator new[](size_t size); // not allowed 
     367  __attribute__((noreturn)) __attribute__((deprecated)) void* operator new[](size_t size); // not allowed 
    368368 
    369369//---------------------------------------------------------------------- 
  • tCompositeComponent.cpp

    r138 r143  
    7171static const char* cUNWANTED_XML_FILE_PREFIX = "sources/cpp/"; 
    7272 
    73 const tComponent::tInterfaceInfo tCompositeComponent::cVISUALIZATION_INTERFACE_INFO = { "Visualization", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS }; 
    74 const tComponent::tInterfaceInfo tCompositeComponent::cSERVICES_INTERFACE_INFO = { "Services", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_RPC_PORTS }; 
    75 const tComponent::tInterfaceInfo tCompositeComponent::cPARAMETERS_INTERFACE_INFO = { "Parameters", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::PARAMETER_INTERFACE | tFlag::INTERFACE_FOR_INPUTS }; 
     73const tComponent::tInterfaceInfo tCompositeComponent::cVISUALIZATION_INTERFACE_INFO = { "Visualization", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
     74const tComponent::tInterfaceInfo tCompositeComponent::cSERVICES_INTERFACE_INFO = { "Services", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_RPC_PORTS, tFlags() }; 
     75const tComponent::tInterfaceInfo tCompositeComponent::cPARAMETERS_INTERFACE_INFO = { "Parameters", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::PARAMETER_INTERFACE | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
    7676const std::string tCompositeComponent::cNO_FILE = "<No File>"; 
    7777 
  • tGroup.cpp

    r115 r143  
    6969static runtime_construction::tStandardCreateModuleAction<tGroup> cCREATE_ACTION_FOR_GROUP("Group"); 
    7070 
    71 const tComponent::tInterfaceInfo tGroup::cINPUT_INTERFACE_INFO = { "Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_INPUTS }; 
    72 const tComponent::tInterfaceInfo tGroup::cOUTPUT_INTERFACE_INFO = { "Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS }; 
     71const tComponent::tInterfaceInfo tGroup::cINPUT_INTERFACE_INFO = { "Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     72const tComponent::tInterfaceInfo tGroup::cOUTPUT_INTERFACE_INFO = { "Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
    7373 
    7474//---------------------------------------------------------------------- 
  • tModule.cpp

    r115 r143  
    6767//---------------------------------------------------------------------- 
    6868 
    69 const tComponent::tInterfaceInfo tModule::cINPUT_INTERFACE_INFO = { "Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_INPUTS }; 
    70 const tComponent::tInterfaceInfo tModule::cOUTPUT_INTERFACE_INFO = { "Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS }; 
     69const tComponent::tInterfaceInfo tModule::cINPUT_INTERFACE_INFO = { "Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     70const tComponent::tInterfaceInfo tModule::cOUTPUT_INTERFACE_INFO = { "Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
    7171 
    7272//---------------------------------------------------------------------- 
  • tModuleBase.cpp

    r132 r143  
    6767static constexpr uint cMANDATORY_FLAGS_FOR_CHILDREN_CHANGED_CHECK = (core::tFrameworkElementFlag::PORT | core::tFrameworkElementFlag::READY | core::tFrameworkElementFlag::COMPOSITE_PORT).Raw(); 
    6868 
    69 const tComponent::tInterfaceInfo tModuleBase::cVISUALIZATION_INTERFACE_INFO = { "Visualization", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS }; 
    70 const tComponent::tInterfaceInfo tModuleBase::cSERVICES_INTERFACE_INFO = { "Services", tFlag::INTERFACE_FOR_RPC_PORTS }; 
    71 const tComponent::tInterfaceInfo tModuleBase::cPARAMETERS_INTERFACE_INFO = { "Parameters", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::PARAMETER_INTERFACE | tFlag::INTERFACE_FOR_INPUTS }; 
     69const tComponent::tInterfaceInfo tModuleBase::cVISUALIZATION_INTERFACE_INFO = { "Visualization", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
     70const tComponent::tInterfaceInfo tModuleBase::cSERVICES_INTERFACE_INFO = { "Services", tFlag::INTERFACE_FOR_RPC_PORTS, tFlags() }; 
     71const tComponent::tInterfaceInfo tModuleBase::cPARAMETERS_INTERFACE_INFO = { "Parameters", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::PARAMETER_INTERFACE | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
    7272 
    7373//---------------------------------------------------------------------- 
  • tSenseControlGroup.cpp

    r115 r143  
    6969static runtime_construction::tStandardCreateModuleAction<tSenseControlGroup> cCREATE_ACTION_FOR_SENSE_CONTROL_GROUP("SenseControlGroup"); 
    7070 
    71 const tComponent::tInterfaceInfo tSenseControlGroup::cSENSOR_INPUT_INTERFACE_INFO = { "Sensor Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_INPUTS }; 
    72 const tComponent::tInterfaceInfo tSenseControlGroup::cSENSOR_OUTPUT_INTERFACE_INFO = { "Sensor Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_OUTPUTS }; 
    73 const tComponent::tInterfaceInfo tSenseControlGroup::cCONTROLLER_INPUT_INTERFACE_INFO = { "Controller Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_INPUTS }; 
    74 const tComponent::tInterfaceInfo tSenseControlGroup::cCONTROLLER_OUTPUT_INTERFACE_INFO = { "Controller Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_OUTPUTS }; 
     71const tComponent::tInterfaceInfo tSenseControlGroup::cSENSOR_INPUT_INTERFACE_INFO = { "Sensor Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     72const tComponent::tInterfaceInfo tSenseControlGroup::cSENSOR_OUTPUT_INTERFACE_INFO = { "Sensor Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
     73const tComponent::tInterfaceInfo tSenseControlGroup::cCONTROLLER_INPUT_INTERFACE_INFO = { "Controller Input", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     74const tComponent::tInterfaceInfo tSenseControlGroup::cCONTROLLER_OUTPUT_INTERFACE_INFO = { "Controller Output", tFlag::PROXY_INTERFACE | tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
    7575 
    7676//---------------------------------------------------------------------- 
  • tSenseControlModule.cpp

    r115 r143  
    6767//---------------------------------------------------------------------- 
    6868 
    69 const tComponent::tInterfaceInfo tSenseControlModule::cSENSOR_INPUT_INTERFACE_INFO = { "Sensor Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_INPUTS }; 
    70 const tComponent::tInterfaceInfo tSenseControlModule::cSENSOR_OUTPUT_INTERFACE_INFO = { "Sensor Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_OUTPUTS }; 
    71 const tComponent::tInterfaceInfo tSenseControlModule::cCONTROLLER_INPUT_INTERFACE_INFO = { "Controller Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_INPUTS }; 
    72 const tComponent::tInterfaceInfo tSenseControlModule::cCONTROLLER_OUTPUT_INTERFACE_INFO = { "Controller Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_OUTPUTS }; 
     69const tComponent::tInterfaceInfo tSenseControlModule::cSENSOR_INPUT_INTERFACE_INFO = { "Sensor Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     70const tComponent::tInterfaceInfo tSenseControlModule::cSENSOR_OUTPUT_INTERFACE_INFO = { "Sensor Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::SENSOR_DATA | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
     71const tComponent::tInterfaceInfo tSenseControlModule::cCONTROLLER_INPUT_INTERFACE_INFO = { "Controller Input", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_INPUTS, tFlags() }; 
     72const tComponent::tInterfaceInfo tSenseControlModule::cCONTROLLER_OUTPUT_INTERFACE_INFO = { "Controller Output", tFlag::INTERFACE_FOR_DATA_PORTS | tFlag::CONTROLLER_DATA | tFlag::INTERFACE_FOR_OUTPUTS, tFlags() }; 
    7373 
    7474//---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.