Skip to content

Commit

Permalink
polishing the code headers to be the same formating across all cpp/h/…
Browse files Browse the repository at this point in the history
…py files
  • Loading branch information
ruck314 committed Jul 8, 2024
1 parent a8322ae commit d0cbc4b
Show file tree
Hide file tree
Showing 263 changed files with 683 additions and 982 deletions.
5 changes: 1 addition & 4 deletions include/rogue/Directives.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Common Directives
* ----------------------------------------------------------------------------
* File : Directives.h
* Created : 2023-02-13
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Common Directives For Rogue
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/EnableSharedFromThis.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Common virtual class to enable shared_from_this() calls.
* ----------------------------------------------------------------------------
* File : EnableSharedFromThis.h
* Created : 2019-11-15
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* This is a common parent class that must be used instead of std::enable_shared_from_this
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/GeneralError.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : General Error
* ----------------------------------------------------------------------------
* File : GeneralError.h
* Created : 2017-12-05
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* General exception for Rogue
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/GilRelease.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Release GIL within scope.
* ----------------------------------------------------------------------------
* File : GilRelease.h
* Created : 2017-02-28
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Release GIL for the scope of this class.
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/Helpers.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Helpful Functions
* ----------------------------------------------------------------------------
* File : Helpers.h
* Created : 2018-11-28
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Helper functions for Rogue
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/Logging.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Logging interface
* ----------------------------------------------------------------------------
* File : Logging.h
* Created : 2017-02-28
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Logging interface for pyrogue
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/Queue.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : General Queue
* ----------------------------------------------------------------------------
* File : Queue.h
* Created : 2017-01-18
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* General queue for Rogue
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/ScopedGil.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Scoped GIL
* ----------------------------------------------------------------------------
* File : ScopedGil.h
* Created : 2017-02-28
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Acquire the GIL for the scope of this class.
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/Version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Rogue Version
* ----------------------------------------------------------------------------
* File : Version.h
* Created : 2017-05-17
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Version helpers for Rogue
Expand Down
10 changes: 5 additions & 5 deletions include/rogue/hardware/MemMap.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : Raw Memory Mapped Access
* ----------------------------------------------------------------------------
* File : MemMap.h
* Created : 2019-11-18
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Raw Memory Mapped Access
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -13,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_HARDWARE_MEM_MAP_H__
#define __ROGUE_HARDWARE_MEM_MAP_H__
#include "rogue/Directives.h"
Expand Down
10 changes: 5 additions & 5 deletions include/rogue/hardware/axi/AxiMemMap.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : AXI Memory Mapped Access
* ----------------------------------------------------------------------------
* File : AxiMemMap.h
* Created : 2017-03-21
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* AXI Memory Mapped Access
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -13,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_HARDWARE_AXI_MEM_MAP_H__
#define __ROGUE_HARDWARE_AXI_MEM_MAP_H__
#include "rogue/Directives.h"
Expand Down
9 changes: 6 additions & 3 deletions include/rogue/hardware/axi/AxiStreamDma.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : AxiStreamDma Interface Class
* ----------------------------------------------------------------------------
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* AxiStreamDma Interface Class
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -10,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_HARDWARE_AXI_AXI_STREAM_DMA_H__
#define __ROGUE_HARDWARE_AXI_AXI_STREAM_DMA_H__
#include "rogue/Directives.h"
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/hardware/axi/module.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Python Module
* ----------------------------------------------------------------------------
* File : module.h
* Created : 2017-03-21
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Python module setup
Expand Down
4 changes: 2 additions & 2 deletions include/rogue/hardware/module.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Python Module
* ----------------------------------------------------------------------------
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Python module setup
Expand Down
10 changes: 5 additions & 5 deletions include/rogue/interfaces/ZmqClient.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : Rogue ZMQ Control Interface
* ----------------------------------------------------------------------------
* File : ZmqClient.h
* Created : 2019-05-02
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Rogue ZMQ Control Interface
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -13,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_ZMQ_CLIENT_H__
#define __ROGUE_ZMQ_CLIENT_H__
#include "rogue/Directives.h"
Expand Down
10 changes: 5 additions & 5 deletions include/rogue/interfaces/ZmqServer.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : Rogue ZMQ Control Interface
* ----------------------------------------------------------------------------
* File : ZmqServer.h
* Created : 2019-05-02
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Rogue ZMQ Control Interface
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -13,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_ZMQ_SERVER_H__
#define __ROGUE_ZMQ_SERVER_H__
#include "rogue/Directives.h"
Expand Down
10 changes: 5 additions & 5 deletions include/rogue/interfaces/api/Bsp.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*-----------------------------------------------------------------------------
* Title : C++ API Bsp
* ----------------------------------------------------------------------------
* File : Bsp.h
* Created : 2023-04-17
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* C++ API BSP (Board Support Package)
* ----------------------------------------------------------------------------
* This file is part of the rogue software platform. It is subject to
* the license terms in the LICENSE.txt file found in the top-level directory
Expand All @@ -13,7 +13,7 @@
* copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE.txt file.
* ----------------------------------------------------------------------------
**/
**/
#ifndef __ROGUE_INTERFACE_API_BSP_H__
#define __ROGUE_INTERFACE_API_BSP_H__

Expand Down
4 changes: 1 addition & 3 deletions include/rogue/interfaces/memory/Block.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Block
* ----------------------------------------------------------------------------
* File : Block.h
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Interface between RemoteVariables and lower level memory transactions.
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/Constants.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Master
* ----------------------------------------------------------------------------
* File : Constants.h
* Created : 2016-12-05
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory error and transaction constants.
Expand Down
4 changes: 1 addition & 3 deletions include/rogue/interfaces/memory/Emulate.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory slave emulator
* ----------------------------------------------------------------------------
* File : Emulator.h
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* A memory space emulator. Allows user to test a Rogue tree without real hardware.
Expand Down
6 changes: 1 addition & 5 deletions include/rogue/interfaces/memory/Hub.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Hub Hub
* ----------------------------------------------------------------------------
* File : Hub.h
* Author : Ryan Herbst, [email protected]
* Created : 2016-09-20
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* A memory interface hub. Accepts requests from multiple masters and forwards
Expand Down
6 changes: 1 addition & 5 deletions include/rogue/interfaces/memory/Master.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Master
* ----------------------------------------------------------------------------
* File : Master.h
* Author : Ryan Herbst, [email protected]
* Created : 2016-09-20
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory master interface.
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/Slave.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Slave
* ----------------------------------------------------------------------------
* File : Slave.h
* Created : 2016-09-20
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory slave interface.
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/TcpClient.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Client Network Bridge
* ----------------------------------------------------------------------------
* File : TcpClient.h
* Created : 2019-01-30
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory Client Network Bridge
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/TcpServer.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Server Network Bridge
* ----------------------------------------------------------------------------
* File : TcpServer.h
* Created : 2019-01-30
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory Server Network Bridge
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/Transaction.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Transaction
* ----------------------------------------------------------------------------
* File : Transaction.h
* Created : 2019-03-08
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory Transaction
Expand Down
5 changes: 1 addition & 4 deletions include/rogue/interfaces/memory/TransactionLock.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Transaction Lock
* ----------------------------------------------------------------------------
* File : TransactionLock.h
* Created : 2018-03-16
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Memory Transaction lock
Expand Down
4 changes: 1 addition & 3 deletions include/rogue/interfaces/memory/Variable.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Memory Variable
* ----------------------------------------------------------------------------
* File : Variable.h
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Base class for RemoteVariable as well as direct C++ access
Expand Down
4 changes: 2 additions & 2 deletions include/rogue/interfaces/memory/module.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Python Module For Memory Interface
* ----------------------------------------------------------------------------
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Python module setup
Expand Down
4 changes: 2 additions & 2 deletions include/rogue/interfaces/module.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*-----------------------------------------------------------------------------
* Title : Python Module
* ----------------------------------------------------------------------------
* Company : SLAC National Accelerator Laboratory
* ----------------------------------------------------------------------------
* Description:
* Python module setup
Expand Down
Loading

0 comments on commit d0cbc4b

Please sign in to comment.