Ignore:
Timestamp:
02/04/20 19:18:52 (4 years ago)
Author:
Maciej Komosinski
Message:

Code formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/impl/neuroimpl-body-sdk.h

    r791 r907  
    1111{
    1212public:
    13         NeuroImpl* makeNew(){ return new NI_Gyro(); } // for NeuroFactory
     13        NeuroImpl* makeNew() { return new NI_Gyro(); } // for NeuroFactory
    1414        int lateinit() { if (!neuro->joint) return 0; simorder = 0; return 1; }
    1515        void go() { setState(0); }
     
    2121public:
    2222        double range;
    23         NeuroImpl* makeNew(){ return new NI_Touch(); } // for NeuroFactory
     23        NeuroImpl* makeNew() { return new NI_Touch(); } // for NeuroFactory
    2424        int lateinit() { if (!neuro->part) return 0; simorder = 0; return 1; }
    2525        void go() { setState(0); }
     
    3030{
    3131public:
    32         NeuroImpl* makeNew(){ return new NI_Smell(); } // for NeuroFactory
     32        NeuroImpl* makeNew() { return new NI_Smell(); } // for NeuroFactory
    3333        void go() { setState(0); }
    3434        int lateinit() { if (!neuro->part) return 0; simorder = 0; return 1; }
     
    4040public:
    4141        double power, bendrange;
    42         NeuroImpl* makeNew(){ return new NI_BendMuscle(); } // for NeuroFactory
     42        NeuroImpl* makeNew() { return new NI_BendMuscle(); } // for NeuroFactory
    4343        NI_BendMuscle() { paramentries = NI_BendMuscle_tab; }
    4444        int lateinit() { if (!neuro->joint) return 0; simorder = 2; return 1; }
     
    5151public:
    5252        double power;
    53         NeuroImpl* makeNew(){ return new NI_RotMuscle(); } // for NeuroFactory
     53        NeuroImpl* makeNew() { return new NI_RotMuscle(); } // for NeuroFactory
    5454        NI_RotMuscle() { paramentries = NI_RotMuscle_tab; }
    5555        int lateinit() { if (!neuro->joint) return 0; simorder = 2; return 1; }
     
    6262public:
    6363        double power;
    64         NeuroImpl* makeNew(){ return new NI_RotMuscle(); } // for NeuroFactory
     64        NeuroImpl* makeNew() { return new NI_RotMuscle(); } // for NeuroFactory
    6565        NI_LinearMuscle() { paramentries = NI_RotMuscle_tab; }
    6666        int lateinit() { if (!neuro->joint) return 0; simorder = 2; return 1; }
     
    7272public:
    7373        double power;
    74         NeuroImpl* makeNew(){ return new NI_Sticky(); } // for NeuroFactory
     74        NeuroImpl* makeNew() { return new NI_Sticky(); } // for NeuroFactory
    7575        int lateinit() { if (!neuro->part) return 0; simorder = 0; return 1; }
    7676        void go() {}
     
    8080{
    8181public:
    82         NeuroImpl* makeNew(){ return new NI_WaterDetect(); } // for NeuroFactory
     82        NeuroImpl* makeNew() { return new NI_WaterDetect(); } // for NeuroFactory
    8383        int lateinit() { if (!neuro->part) return 0; simorder = 0; return 1; }
    8484        void go() { setState(0); }
     
    8888{
    8989public:
    90         NeuroImpl* makeNew(){ return new NI_Energy(); } // for NeuroFactory
     90        NeuroImpl* makeNew() { return new NI_Energy(); } // for NeuroFactory
    9191        void go() { setState(0); }
    9292};
Note: See TracChangeset for help on using the changeset viewer.